const key = 'user-token'

// 存储
export const setToken = (data) => {
  localStorage.setItem(key, data)
}

// 取值

export const getToken = () => {
  return localStorage.getItem(key)
}

// 删除
export const delToken = () => {
  localStorage.removeItem(key)
}
